<template>
  <div class="welcome-container">
    <div class="welcome-content">
      <div class="logo">
        <i class="fas fa-heartbeat"></i>
      </div>
      <h1 class="title">智慧医疗管理系统</h1>
      <p class="subtitle">专业、高效、安全的医疗信息管理平台</p>
      <div class="features">
        <div class="feature-item">
          <i class="fas fa-user-md"></i>
          <span>医生工作站</span>
        </div>
        <div class="feature-item">
          <i class="fas fa-pills"></i>
          <span>药房管理</span>
        </div>
        <div class="feature-item">
          <i class="fas fa-calendar-check"></i>
          <span>预约挂号</span>
        </div>
        <div class="feature-item">
          <i class="fas fa-file-prescription"></i>
          <span>电子处方</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HomeView'
}
</script>

<style scoped>
.welcome-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #4a6cf7, #6c8aff);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.welcome-content {
  text-align: center;
  color: white;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.logo {
  font-size: 64px;
  margin-bottom: 20px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
}

.feature-item i {
  font-size: 32px;
  margin-bottom: 10px;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .welcome-content {
    padding: 20px;
    margin: 20px;
  }
  
  .title {
    font-size: 28px;
  }
  
  .subtitle {
    font-size: 16px;
  }
  
  .features {
    gap: 20px;
  }
  
  .feature-item {
    font-size: 14px;
  }
  
  .feature-item i {
    font-size: 24px;
  }
}
</style>